package com.system.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.common.core.page.PageUtils;
import lombok.Data;

import java.io.Serializable;

/**
 * 用户和角色关联表
 *
 * @author yangzhan
 * @email *****@mail.com
 * @date 2022-04-11 20:41:31
 */
@Data
@TableName("sys_user_role")
public class SysUserRoleEntity extends PageUtils implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    @TableId("user_id")
    private Long userId;

    /**
     * 角色ID
     */
    @TableField("role_id")
    private Long roleId;


}
